<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>img-标签 | Introduction</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../html/biaoge.html" />
    
    
    <link rel="prev" href="../html/a-标签.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="1.3"
        data-chapter-title="img-标签"
        data-filepath="html/img.md"
        data-basepath=".."
        data-revision="Wed Apr 18 2018 23:41:29 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="html.html">
            
            <span><b>1.</b> HTML</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="html/html的基本结构和内容.html">
            
                
                    <a href="../html/html的基本结构和内容.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        HTML
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="html/a-标签.html">
            
                
                    <a href="../html/a-标签.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        a-标签
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="1.3" data-path="html/img.html">
            
                
                    <a href="../html/img.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        img-标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="html/biaoge.html">
            
                
                    <a href="../html/biaoge.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        table-表格
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="html/列表与表单.html">
            
                
                    <a href="../html/列表与表单.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        列表与表单
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="html/音频和视频-标签.html">
            
                
                    <a href="../html/音频和视频-标签.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        音频与视频
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="html/iframe内嵌框架.html">
            
                
                    <a href="../html/iframe内嵌框架.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        iframe内嵌框架
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="CSS.html">
            
            <span><b>2.</b> CSS</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="css/CSS语法.html">
            
                
                    <a href="../css/CSS语法.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        CSS基本语法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="css/选择器.html">
            
                
                    <a href="../css/选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="css/伪类.html">
            
                
                    <a href="../css/伪类.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        伪类
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="css/盒子模型.html">
            
                
                    <a href="../css/盒子模型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        盒子模型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="css/字体.html">
            
                
                    <a href="../css/字体.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        字体
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="css/行高.html">
            
                
                    <a href="../css/行高.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        行高
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../" >Introduction</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <p><img src="../img/123.png" alt="&#x56FE;&#x7247;"></p>
<h1 id="welcome-to-use-my-xtnotebook">Welcome to use My XT-Notebook</h1>
<h3 id="img&#x56FE;&#x50CF;&#x6807;&#x7B7E;">img-&#x56FE;&#x50CF;&#x6807;&#x7B7E;</h3>
<h4 id="1img&#x56FE;&#x50CF;&#x7684;&#x683C;&#x5F0F;">1.img-&#x56FE;&#x50CF;&#x7684;&#x683C;&#x5F0F;</h4>
<table>
<thead>
<tr>
<th style="text-align:center">&#x7C7B;&#x578B;</th>
<th style="text-align:center">&#x6027;&#x8D28;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">jpg&#x683C;&#x5F0F;</td>
<td style="text-align:center">&#x4F53;&#x79EF;&#x5C0F;&#xFF0C;&#x4F46;&#x4E0D;&#x652F;&#x6301;&#x900F;&#x660E;&#x56FE;&#x5C42;</td>
</tr>
<tr>
<td style="text-align:center">png&#x683C;&#x5F0F;</td>
<td style="text-align:center">&#x652F;&#x6301;&#x900F;&#x660E;&#x56FE;&#x5C42;&#xFF0C;&#x76F8;&#x5BF9;jpg&#x683C;&#x5F0F;&#x7684;&#x56FE;&#x7247;&#x7A0D;&#x5927;</td>
</tr>
<tr>
<td style="text-align:center">gif&#x683C;&#x5F0F;</td>
<td style="text-align:center">&#x652F;&#x6301;&#x52A8;&#x6001;&#x56FE;&#x7247;&#xFF0C;&#x4F53;&#x79EF;&#x5927;&#xFF0C;&#x663E;&#x793A;&#x989C;&#x8272;&#x6548;&#x679C;&#x7A0D;&#x5FAE;&#x900A;&#x8272;</td>
</tr>
<tr>
<td style="text-align:center">webp&#x683C;&#x5F0F;</td>
<td style="text-align:center">&#x56FE;&#x50CF;&#x8D28;&#x91CF;&#x6BD4;&#x8F83;&#x597D;&#x4E14;&#x4F53;&#x79EF;&#x4E0D;&#x7B97;&#x5927;&#xFF0C;&#x517C;&#x5BB9;&#x6027;&#x6BD4;&#x8F83;&#x5DEE;&#xFF0C;&#x76EE;&#x524D;&#x53EA;&#x652F;&#x6301;&#x5728;&#x8C37;&#x6B4C;&#xFF08;Chrome&#xFF09;&#x4E0A;&#x6D4F;&#x89C8;</td>
</tr>
</tbody>
</table>
<h4 id="2img&#x5B9E;&#x4F8B;">2.img-&#x5B9E;&#x4F8B;</h4>
<pre><code>&lt;html&gt;
    &lt;head&gt;
        &lt;meta charset=&quot;UTF-8&quot;&gt;
        &lt;title&gt;&#x56FE;&#x7247;&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;

        &lt;!-- 
            &#x56FE;&#x7247;&#xFF1A;
            img&#x6807;&#x7B7E;&#x81EA;&#x5DF1;&#x5728;&#x672B;&#x5C3E;&#x95ED;&#x5408;&#xFF0C;&#x4E0D;&#x9700;&#x8981;&#x63D2;&#x5165;&#x4EFB;&#x4F55;&#x5185;&#x5BB9;
            src&#x5C5E;&#x6027; source&#x8D44;&#x6E90;
        --&gt;
        &lt;!-- 
            jpg&#x683C;&#x5F0F; 
                &#x4F53;&#x79EF;&#x5C0F;&#xFF0C;&#x4F46;&#x4E0D;&#x652F;&#x6301;&#x900F;&#x660E;&#x56FE;&#x5C42;
        --&gt;
        &lt;img src=&quot;img/libai.jpg&quot;/&gt;

        &lt;!-- 
            png&#x683C;&#x5F0F;
                &#x652F;&#x6301;&#x900F;&#x660E;&#x56FE;&#x5C42;&#xFF0C;&#x76F8;&#x5BF9;jpg&#x683C;&#x5F0F;&#x7684;&#x56FE;&#x7247;&#x7A0D;&#x5927;
        --&gt;
        &lt;img src=&quot;img/drag.png&quot; width=&quot;300px&quot;/&gt;

        &lt;!--
            gif&#x683C;&#x5F0F;
                &#x652F;&#x6301;&#x52A8;&#x6001;&#x56FE;&#x7247;&#xFF0C;&#x4F53;&#x79EF;&#x5927;&#xFF0C;&#x663E;&#x793A;&#x989C;&#x8272;&#x6548;&#x679C;&#x7A0D;&#x5FAE;&#x900A;&#x8272;
        --&gt;
        &lt;img src=&quot;img/2.gif&quot;/&gt;

        &lt;!--
            webp&#x683C;&#x5F0F;
                &#x56FE;&#x50CF;&#x8D28;&#x91CF;&#x6BD4;&#x8F83;&#x597D;&#x4E14;&#x4F53;&#x79EF;&#x4E0D;&#x7B97;&#x5927;&#xFF0C;&#x517C;&#x5BB9;&#x6027;&#x6BD4;&#x8F83;&#x5DEE;&#xFF0C;&#x76EE;&#x524D;&#x53EA;&#x652F;&#x6301;&#x5728;&#x8C37;&#x6B4C;&#xFF08;Chrome&#xFF09;&#x4E0A;&#x6D4F;&#x89C8;
        --&gt;
        &lt;img src=&quot;img/1.webp&quot;/&gt;

        &lt;!-- 
            &#x7F6E;&#x6362;&#x5143;&#x7D20;&#xFF1A;&#x6839;&#x636E;&#x5185;&#x5BB9;&#x5927;&#x5C0F;&#x89C9;&#x5F97;&#x6240;&#x5360;&#x7A7A;&#x95F4;&#xFF0C;&#x53C8;&#x80FD;&#x8BBE;&#x7F6E;&#x5BBD;&#x9AD8;
                &#x6539;&#x53D8;&#x56FE;&#x7247;&#x7684;&#x5927;&#x5C0F;&#x65F6;&#xFF0C;&#x5982;&#x679C;&#x4E0D;&#x60F3;&#x5F71;&#x54CD;&#x56FE;&#x7247;&#x7684;&#x5BBD;&#x9AD8;&#x6BD4;&#x4F8B;&#xFF0C;&#x9AD8;&#x5EA6;&#x6216;&#x5BBD;&#x5EA6;&#x9009;&#x62E9;&#x5176;&#x4E00;&#x8BBE;&#x7F6E;&#x5373;&#x53EF;
        --&gt;
        &lt;!-- alt &#x5F53;&#x56FE;&#x7247;&#x5931;&#x6548;&#x65F6;&#xFF0C;&#x51FA;&#x73B0;&#x7684;&#x66FF;&#x4EE3;&#x6587;&#x672C; --&gt;
        &lt;img src=&quot;img/LD.jpg&quot; width=&quot;100px&quot; alt=&quot;&#x674E;&#x767D;&quot; title=&quot;&#x674E;&#x767D;&quot;/&gt;

    &lt;/body&gt;
&lt;/html&gt;
</code></pre><p><a href="http://html5book.bluej.cn/_book/index.html" target="_blank">&#x84DD;&#x666F;&#x7535;&#x5B50;&#x4E66;</a></p>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../html/a-标签.html" class="navigation navigation-prev " aria-label="Previous page: a-标签"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../html/biaoge.html" class="navigation navigation-next " aria-label="Next page: table-表格"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../gitbook/app.js"></script>

    
    <script src="../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"expandable-chapters":{},"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
